<template>
<div :class="[$style.container]">
  <el-col :span="24">
    <el-form-item prop="variables.umask" label="文档权限" :rules="[{required: true, type: 'number', message: '请选择文档权限'}]">
      <umask-checkbox v-model="form.variables.umask"></umask-checkbox>
    </el-form-item>
  </el-col>
</div>
</template>

<script lang="ts">

import { Vue, Component, Prop, Emit, Ref } from 'vue-property-decorator'

@Component
export default class DocPermsForm extends Vue {
  @Prop() form!: any

  created () {
    this.form.variables = {
      umask: null
    }
  }
}
</script>

<style lang="scss" module>
@import "~@/styles/vars.scss";

.container {

}

</style>
